UCF STIG Viewer Logo

The SSH daemon must not accept environment variables from the client.


Overview

Finding ID Version Rule ID IA Controls Severity
V-63217 ESXI-06-000024 SV-77707r1_rule Medium
Description
Environment variables can be used to change the behavior of remote sessions and should be limited. Locate environment variables that specify the language, character set, and other features modifying the operation of software to match the user's preferences.
STIG Date
VMware vSphere ESXi 6.0 Security Technical Implementation Guide 2019-01-04

Details

Check Text ( C-63951r1_chk )
To verify the AcceptEnv setting, run the following command:

# grep -i "^AcceptEnv" /etc/ssh/sshd_config

If there is no output or the output is not exactly "AcceptEnv", this is a finding.
Fix Text (F-69135r1_fix)
To set the AcceptEnv setting, add or correct the following line in "/etc/ssh/sshd_config":

AcceptEnv